<%@ include file="header.jsp" %>

<div class="Portlet">
	<div class="Portlet_title_bar">
		<h1><c:out value="${ctx.pageTitle}"/></h1>
	</div>
	<div class="Pane_toolbar"> 
	</div>
	<h2><fmt:message key="error"/></h2>
	<hr />
	<br/>
		
	<!-- CONTENT {{ -->
	<table class="RecordView" align="center" >
	<tbody>
		<tr>
			<th><fmt:message key="message"/></th>
		</tr>
		<tr>
			<td ><b>${exception.class.name}</b>
			<!--<p><pre><c:out value="${exception.cause.class.name}" /></pre></p>-->
			<c:if test="${not empty exception.message}" ><p><pre><c:out value="${exception.message}" /></pre></p></c:if>
			<c:if test="${empty exception.message}" ><p><pre>${exception.stackTrace[0].className}(${exception.stackTrace[0].lineNumber})
${exception.stackTrace[1].className}(${exception.stackTrace[1].lineNumber})</pre></p></c:if>
			</td>
		</tr>
		<tr>
			<td style="background-color: #FFFFD4"><c:if test="${not empty suggestedAction}"><c:out value="${suggestedAction}" /></c:if></td>
		</tr>
	<tfoot>
		<tr>
			<td>
				<c:if test="${not empty url_continue}"><a href="<c:out value="${url_continue}" />" ><fmt:message key="continue"/></a><br /></c:if>
				<c:if test="${not empty url_return}"><a href="<c:out value="${url_return}" />" ><fmt:message key="return"/></a></c:if>
			</td>
		</tr>
	</tfoot>
	</table>
	<!-- CONTENIDO -->
</div>
	
<%@ include file="footer.jsp" %>
